//
//  AboutUsViewController.m
//  shopping
//
//  Created by 徐双 on 2017/8/30.
//  Copyright © 2017年 qianyi. All rights reserved.
//

#import "AboutUsViewController.h"

@interface AboutUsViewController ()
@property (weak, nonatomic) IBOutlet UILabel *phoneLab;

@end

@implementation AboutUsViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    [self setTitle:@"关于我们"];
    
    UIView *viewOf = [[UIView alloc] init];
    viewOf.frame = CGRectMake(0, 0, DEF_SCREEN_WIDTH, 1);
    [self.view addSubview:viewOf];
    viewOf.backgroundColor = [UIColor colorWithRed:204 / 255.0f green:204 / 255.0f  blue:204 / 255.0f  alpha:1];
 
}
- (IBAction)phone:(UIButton *)sender {
    
    
    NSMutableString *str=[[NSMutableString alloc] initWithFormat:@"tel:%@",_phoneLab.text];
    [[UIApplication sharedApplication] openURL:[NSURL URLWithString:str]];
    
    
    
}




@end
